package org.springboot.base.base;

import java.io.Serializable;

/**
 * @author ZJL
 * @DateTime 2019年2月22日 下午4:19:15
 * 基础返回结果
 **/
public class ResultDO<T> implements Serializable {
	
	public static final String RTN_CODE_SUECCESS="0";   //成功
	public static final String RTN_CODE_ERROR="1";		//失败

	private static final long serialVersionUID = 2333009033582831687L;
	private String rtnCode;
	private String rtnMsg;
	private String url;
	private T data;
	public String getRtnCode() {
		return rtnCode;
	}
	public void setRtnCode(String rtnCode) {
		this.rtnCode = rtnCode;
	}
	public String getRtnMsg() {
		return rtnMsg;
	}
	public void setRtnMsg(String rtnMsg) {
		this.rtnMsg = rtnMsg;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public T getData() {
		return data;
	}
	public void setData(T data) {
		this.data = data;
	}
}
